package com.xxx.reggie.mapper;

import com.xxx.reggie.entity.SetmealDish;
import org.apache.ibatis.annotations.Param;

import java.time.LocalDateTime;
import java.util.List;

public interface SetmealDishMapper {

    //批量保存添加套餐与菜品关系数据
    Integer saveBatch(@Param("setmealDishes") List<SetmealDish> setmealDishList);


    //删除套餐
    void deleteBysetmealIds(@Param("ids") List<Long> ids,
                            @Param("opr") Long opr,
                            @Param("updateTime") LocalDateTime updateTime);


}
